package com.mysql.opt.indexmerge.service.impl;

import com.mysql.opt.indexmerge.entity.OrderInfo;
import com.mysql.opt.indexmerge.mapper.OrderInfoMapper;
import com.mysql.opt.indexmerge.service.OrderInfoService;
import com.mysql.opt.indexmerge.vo.OrderInfoVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderInfoServiceImpl implements OrderInfoService {

    @Resource
    private OrderInfoMapper orderInfoMapper;

    @Override
    public List<OrderInfo> queryList(OrderInfoVo orderInfo) {
        return orderInfoMapper.queryList(orderInfo);
    }

    @Override
    public int saveBatch(List<OrderInfo> orderInfo) {
        return 0;
    }
}
